package com.jinliang.blogweb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinliang.blogweb.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    /**
     * 通过文章ID查询评论
     *
     * @param comment
     * @return
     */
    List<Comment> getListByArticleId(Comment comment);
}
